package com.ztn.sdk.iot.hook.bean;


import com.ztn.sdk.iot.hook.bean.protocol.DeviceStatusUniJsonProtocol;
import com.ztn.sdk.iot.hook.bean.protocol.DeviceUploadUniJsonProtocol;

import java.io.Serializable;

public class IotDeviceProtocolWarp implements Serializable {

    public static final String TYPE_DEVICE_STATUS = "deviceStatus";
    public static final String TYPE_DEVICE_UPLOAD = "deviceUpload";
    public static final String TYPE_DEVICE_DELETE = "deviceDelete";
    public static final String TYPE_DEVICE_WARN = "deviceWarn";
    public static final String TYPE_DEVICE_REGISTER = "deviceRegister";
    public static final String TYPE_SERVER_SEND = "serverSend";
    public static final String TYPE_UN_KNOW = "unKnow";

    private String type;

    private String deviceCore;

    private Integer timestamp;

    private DeviceUploadUniJsonProtocol deviceUpload;

    private DeviceStatusUniJsonProtocol deviceStatus;

    private Boolean prior;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getDeviceCore() {
        return deviceCore;
    }

    public void setDeviceCore(String deviceCore) {
        this.deviceCore = deviceCore;
    }

    public Integer getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Integer timestamp) {
        this.timestamp = timestamp;
    }

    public DeviceUploadUniJsonProtocol getDeviceUpload() {
        return deviceUpload;
    }

    public void setDeviceUpload(DeviceUploadUniJsonProtocol deviceUpload) {
        this.deviceUpload = deviceUpload;
    }

    public DeviceStatusUniJsonProtocol getDeviceStatus() {
        return deviceStatus;
    }

    public void setDeviceStatus(DeviceStatusUniJsonProtocol deviceStatus) {
        this.deviceStatus = deviceStatus;
    }

    public Boolean getPrior() {
        return prior;
    }

    public void setPrior(Boolean prior) {
        this.prior = prior;
    }
}
